#include <iostream>
#include <string>
#include "CVector.h"
#include "CLinkedList.h"
#include "CInteger.h"
#include "CStack.h"
#include "CQueue.h"
#include "CBinTree.h"
#include "CBinSearchTree.h"
#include "CAVLTree.h"
#include "bitmap.h"
#include "CHashMap.h"

int main()
{
    CHashMap<std::string, int> map(3);
    map.Put("zhangsan", 1);
    map.Put("lisi", 2);
    map.Put("wangwu", 3);
    map.Put("wangwu", 4);
    map.Put("wuwang", 3);
    map.Put("ngwuwa", 3);
    map.Put("ngwawu", 3);
    map.Put("nwagwu", 3);
    //map.Put("zhaoliu", 4);

    map.Show();
    map.Remove("nwagwu");
    std::cout << "===========" << std::endl;
    map.Show();

    //const Node* pNode = map.Get("wangwu");
    //if (pNode != nullptr)
    //{
    //    printf("{H:%u %s -> %d} ", Hash(pNode->m_Key), pNode->m_Key.c_str(), pNode->m_Value);
    //}
    //else
    //{
    //    std::cout << "404 not found" << std::endl;
    //}

    return 0;
}


